package com.weiyuwqj.server.service.income.impl;

import com.weiyuwqj.api.service.BusIncomeStatService;
import com.weiyuwqj.server.service.base.BaseServiceImpl;
import com.weiyuwqj.server.mapper.BusIncomeStatMapper;
import com.weiyuwqj.api.model.BusIncomeStat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by Administrator on 2015/12/7.
 */
@Service("incomeStatService")
public class BusIncomeStatServiceImpl extends BaseServiceImpl<BusIncomeStat> implements BusIncomeStatService {

    @Autowired
    BusIncomeStatMapper busIncomeStatMapper;

    @Override
    public BusIncomeStat getOneByUserId(Integer userId) {
        return busIncomeStatMapper.getOneByUserId(userId);
    }

}

